<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template("content","header", "default"); ?>
<?php include template("content","header_search", "default"); ?>
<link href="<?php echo CSS_PATH;?>pic.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="<?php echo JS_PATH;?>menu.js"></script>
<script language="javascript" src="<?php echo JS_PATH;?>main_nav.js"></script>
<!-- 内容begin-->
<div id="shop">

	<div class="pic_h">
		<div class="menu">
		<?php $num=0;?>
		<?php $n=1;if(is_array($product_cat)) foreach($product_cat AS $rp) { ?>
		<?php $num++?>
		<a href="javascript:;" onmouseover="easytabs('1', '<?php echo $num;?>');" onfocus="easytabs('1', '<?php echo $num;?>');" onclick="return false;"  title="" id="tablink<?php echo $n;?>" ><?php echo $rp['name'];?></a>
			
			<?php $n++;}unset($n); ?>		
		
		
		
		</div>
		<?php echo $str;?>
	</div>
	
	<div class="pic_m">

		<div class="pic_m_title"><a href="javascript:;">装饰案例图库</a>> 所有 </div>
		<div class="more"><?php echo $casepages;?></div>
		<div class="pic_m01">
		
				<ul>
				<?php $n=1;if(is_array($array)) foreach($array AS $r) { ?>
					<li>
						<a href="<?php echo $r['url'];?>"><img src="<?php echo thumb($r[thumb],150,112);?>" width="120" height="90" alt="<?php echo $r['title'];?>"/></a>
						<p><a href="<?php echo $r['url'];?>" class="strong color05"><?php echo $r['title'];?></a><br /><a href="javascript:void(0)" class="color03"><?php echo $r['product_type'];?></a><span class="color03"><?php echo $r['price'];?>万</span><br /><span class="span01 color05">点击：<span class="span01"><?php echo $r['views'];?></span></span></p>
					</li>
					<?php $n++;}unset($n); ?>
				</ul>
			
			
			</div>
			<div class="more"><?php echo $casepages;?></div>
			
	</div>
</div>
<!-- 内容end-->
<!--友情链接begin-->
<div class="m06">
  <div class="m06_title">
  <h1><a href="javascript:void(0);">友情链接</a></h1>
  </div>
  <ul>
   <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"link\" data=\"op=link&tag_md5=99c32cd273c57223c20074bf5196e97a&action=type_list&siteid=%24siteid&order=listorder+DESC&num=10&return=dat\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$link_tag = pc_base::load_app_class("link_tag", "link");if (method_exists($link_tag, 'type_list')) {$dat = $link_tag->type_list(array('siteid'=>$siteid,'order'=>'listorder DESC','limit'=>'10',));}?>
		<?php $n=1;if(is_array($dat)) foreach($dat AS $v) { ?>
              <?php if($type==0) { ?>
            <li>  <a href="<?php echo $v['url'];?>" target="_blank"><?php echo $v['name'];?></a>  </li>
              <?php } else { ?>
             <li> <a href="<?php echo $v['url'];?>" target="_blank"><img src="<?php echo $v['logo'];?>" width="88" height="31" style="border: 1px solid #FFBE7A;"></a> </li>
              <?php } ?>
		<?php $n++;}unset($n); ?>
	<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
  </ul>
</div>
<!-- 友情链接end-->
<!-- 内容end-->


<?php include template("content","footer"); ?>